<script lang="ts" setup>
import { Page } from '@vben/common-ui';
import { $t } from '#/locales';
import { Card, TabPane, Tabs } from 'ant-design-vue';

import { Mailer, MailerTemplate } from './components';

defineOptions({
  name: 'AdminMailer',
});
const activeKey = ref('1');
</script>

<template>
  <Page>
    <Card>
      <Tabs v-model:active-key="activeKey">
        <TabPane key="1" force-render :tab="$t('admin.System Email Settings')">
          <Mailer />
        </TabPane>
        <!-- <TabPane key="2" tab="邮箱数字验证码模板">
          <MailerTemplate />
        </TabPane> -->
      </Tabs>
    </Card>
  </Page>
</template>
